package com.xiaoyu.awakening.ai.index.core.parse;

import com.xiaoyu.awakening.ai.index.enums.AwkDocumentTypeEnum;
import com.xiaoyu.awakening.ai.index.enums.AwkMediaTypeEnum;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * AwkParseRes
 *
 * @author wangxiaoyu
 * @date 2025/6/25 17:43
 * @since v1.0
 */
@Data
@Builder
public class AwkParseRes {
    private String parseId;
    private String fileName;
    private Long fileSize;
    private Long pageCount;
    private AwkMediaTypeEnum mediaType;
    private AwkDocumentTypeEnum documentType;
    private List<PageContent> contentList;

    static class PageContent {
        private Integer pageNumber;
        private String content;
    }
}
